home *** CD-ROM | disk | FTP | other *** search
- Path: news.gatecom.com!gatecoms!cgolchert
- From: cgolchert@gatecoms.gatecom.com (Chris Golchert)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Help with linking
- Date: 26 Mar 1996 00:57:49 GMT
- Organization: Gateway Communications Inc.
- Message-ID: <4j7fed$j9h@www.gatecom.com>
- NNTP-Posting-Host: gatecoms.gatecom.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- I trying to get a lightwave plug-in in the works...I'm not having a
- problem with the C language it's that Light wave needs to be linked with
- "plug-in libraries" they gave this as the make file...
-
-
- #
- # Makefile for SAS/C LightWave plugins
- #
-
-
- # Plugins must be made with no stack checking to prevent the attempt to
- # exit. Since there are multiple entry points, there is no clear exit
- # option.
- #
- UINC = //include/
- ULIB = //lib/
- CFLAGS = cpu=68020 math=68881 opt nostkchk idir=$(UINC)
-
-
- # Output *.p modules are made directly from C source files to keep this
- # example simple.
- #
- .c.p:
- sc link $(CFLAGS) startup=$(ULIB)serv_s.o $*.c $(ULIB)server.lib pname=$@
-
- all : negative.p
-
-
- this was for the demo "negative"
-
- I'm running with sas/c version ??? not sure without checking....I need to
- turn this into whatever LMK/LC/BLINK can under stand....I modify the
- above enough I can compile by hand and blink says it doesn't understand
- "=" in the smakefil...
-
-
-
-
- HELP!!!!
-
-
- Chris
-
-
-